namespace NGIS.Model
{
	public struct HardwareRequirement
	{
		public string requirementKey;

		public string requirementValue;

		public bool compareOther(HardwareRequirement pRequirement)
		{
			if (requirementKey != pRequirement.requirementKey)
			{
				return false;
			}
			if (requirementValue != pRequirement.requirementValue)
			{
				return false;
			}
			return true;
		}

		public static bool operator ==(HardwareRequirement pRequirementA, HardwareRequirement pRequirementB)
		{
			return pRequirementA.compareOther(pRequirementB);
		}

		public static bool operator !=(HardwareRequirement pRequirementA, HardwareRequirement pRequirementB)
		{
			return !(pRequirementA == pRequirementB);
		}
	}
}
